package com.huike.review.service;

import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * mybatis复习接口层
 */

public interface ReviewService {


    public String saveDate(String name, Integer age, String sex);

    public String saveDate(MybatisReviewVO vo);

    public String updateDate(MybatisReviewVO vo);

    public String removeDate(Long id);

    public Review getDataById(Long id);

    //public TableDataInfo getPageHelper(int pageNum, int pageSize);

    public List<Review> getDataByPage();

}
